Skip to content

Default to latest Python patch versions#34

Merged
TheJulianJES merged 1 commit intozigpy:mainfrom
TheJulianJES:tjj/default_latest_python_patch_versions
Jan 30, 2026
Merged

Default to latest Python patch versions#34
TheJulianJES merged 1 commit intozigpy:mainfrom
TheJulianJES:tjj/default_latest_python_patch_versions

Conversation

@TheJulianJES
Copy link
Contributor

Proposed change

Defaults to latest Python patch versions.

Additional information

This actually works now. The linked PR caused different jobs in the workflow to always have the latest Python patch version if not pinned to a specific patch version already, even if the latest patch version is not cached in the GitHub runner (which is what previously caused failures/venv cache key misses):

@TheJulianJES
Copy link
Contributor Author

If we go with this, this is also something we want to adjust in other projects where we currently pin specific versions.

The upsides of this change would be that we no longer need to keep all patch versions in the individual projects updated.
If we keep them pinned and not updated, we continue to run old Python versions, which may no longer be in GitHub runner cache, increasing test run time by 10 to 20 seconds per job in the CI workflow.

See further explanation in #33.

@TheJulianJES
Copy link
Contributor Author

This should be good to go. I'll update all repo workflows that specify their own CI Python versions later.

@TheJulianJES TheJulianJES merged commit c3508d2 into zigpy:main Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant